<%-- 
    Document   : lupa_kata_laluan
    Created on : Oct 19, 2012, 2:34:59 PM
    Author     : fikri
--%>
<%@ include file="/WEB-INF/jsp/include/page_header.jspf" %>
<%@page contentType="text/html" pageEncoding="windows-1252"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
        <title>THis</title>
        <script type="text/javascript">
            
            function validateForm(f) {
                 if (document.getElementById("noAkaun").value === "") {
                        alert("Sila masukkan No Akaun.");
                        return false;
                    }else if(document.getElementById("pengguna.noKp").value === "") {
                        alert("Sila masukkan No KP Semasa.");
                        return false;
                    }else if(document.getElementById("passbook").value === "") {
                        alert("Sila masukkan No Siri Buku");
                        return false;
                    }else {
                        f.action="${pageContext.request.contextPath}/pengguna/updatePassword?";
                        f.submit();
                    }
            }
            
        </script>
    </head>
    <body>
        <div id="container">
            
            <s:form beanclass="th.stripes.action.PenggunaActionBean" class="niceform">
                 <s:errors/>
                <div id="content">
                <div id="logo">
                    <span>
                        <img src="${pageContext.request.contextPath}/images/img/ribbon.png"/>               
                    </span>
                </div>
                <h3>
                    Lupa Kata Laluan
                </h3> 
 
                    <p>
                        <label><font color="red">*</font>No. Akaun TH :</label>
                        <s:text id="noAkaun" name="noAkaun" size="30" maxlength="15"/>
                    </p>
                    
                    <p>
                        <label><font color="red">*</font>No. KP Semasa :</label>
                        <s:text id="pengguna.noKp" name="pengguna.noKp" size="30" maxlength="12"/>
                    </p>
                    
                    <p>
                        <label><font color="red">*</font>No. Siri Buku:</label>
                        <s:text id="passbook" name="passbook" size="30" maxlength="10"/> &nbsp;Contoh : 00-0000001
                    </p>
                    
                    <p>
                        <label>&nbsp;</label>
                        <s:button name="check" value="Hantar SMS" class="button green" onclick="validateForm(this.form)"/>
                    </p>
                </div>
            </s:form>
        </div>
    </body>
</html>
